package com.ftg.learn.chapter08.pattern.factory;

/**
 * 小李
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/8/3 9:53
 */

public class LittleLi {

    public static void main(String[] args) {
        Cat c1=CatFactory.instanceCatName("波斯猫");
        System.out.println(c1.getName());
    }
}
